Revert "Maybe fix failing build on OS X rust beta"
authorMikkel Kroman <mk@uplink.io>
Tue, 17 May 2016 13:08:29 +0000 (15:08 +0200)
committerMikkel Kroman <mk@uplink.io>
Tue, 17 May 2016 13:08:29 +0000 (15:08 +0200)
This reverts commit 3fb3fdc82fdf3a1ea060d51076c86c71fe1f405b.

tests/test_cargo_test.rs

index 0eb12d49460c86c186327457b861376a6a0819cb..cf6f50e8d45df1c24f0115aa24eaaa04cf2499ca 100644 (file)
@@ -2048,10 +2048,10 @@ test!(selective_test_optional_dep {
 });
 
 test!(only_test_docs {
-    let p = project("foo_docs")
+    let p = project("foo")
         .file("Cargo.toml", r#"
             [package]
-            name = "foo_docs"
+            name = "foo"
             version = "0.0.1"
             authors = []
         "#)
@@ -2067,13 +2067,13 @@ test!(only_test_docs {
             pub fn bar() {
             }
         "#)
-        .file("tests/foo_docs.rs", "this is not rust");
+        .file("tests/foo.rs", "this is not rust");
     p.build();
 
     assert_that(p.cargo("test").arg("--doc"),
                 execs().with_status(0).with_stdout(&format!("\
-[COMPILING] foo_docs v0.0.1 ([..])
-[DOCTEST] foo_docs
+[COMPILING] foo v0.0.1 ([..])
+[DOCTEST] foo
 
 running 1 test
 test bar_0 ... ok